package com.shioirikukuri.service;

import com.shioirikukuri.entity.User;

import java.util.Optional;

public interface ICustomerService {
	/**
	 * 用户登录
	 */
	User login(String phoneNumber, String password);

	/**
	 * 根据手机号查询消费者用户
	 * @param phoneNumber
	 * @return
	 */
	Optional<User> findConsumerByPhoneNumber(String phoneNumber);

}
